<?php
error_reporting(E_ERROR);

require_once ("configure_site.php");
require_once ("mysql.php");

$userbase = $CONFIG_MYSQL ['username'];
$passwd = $CONFIG_MYSQL ['password'];
$host = $CONFIG_MYSQL ['hostname'];
$db = $CONFIG_MYSQL ['dbname'];

$options = array (
		"host" => $host,
		"user" => $userbase,
		"password" => $passwd 
);
$mysql = MYSQL::getInstance ( $options );
$linkid = $mysql->conId;
$base = $db;
$mysql->setDB ( $db );
$mysql->connectDB ();
// L'affichage des dates se fera en français.
setlocale ( LC_ALL, 'fr' );

?>
